import request from '@/utils/server'
const { BASIC_API } = require('./const')

export function register(params: any) {
  return request({
    method: 'post',
    url: BASIC_API + '/user/login',
    params
  })
}

export function fetchUsers() {
  return request({
    method: 'get',
    url: BASIC_API + '/user/fetchUsers'
  })
}